package kr.hkit.powerjava.chapter06.assign_for;

import java.util.Scanner;

public class repeat {

	public static void main(String[] args) {
		Scanner input =  new Scanner(System.in);
		
		One q1 = new One();
		System.out.println(q1);
		
		System.out.print("2. 정수를 입력하세요: ");
		int num = input.nextInt();
		Two q2 = new Two(num);
		System.out.println(q2);
		
		System.out.print("3. 정답을 입력하세요: ");
		num = input.nextInt();
		Three q3 = new Three(num);
		q3.game();
		
		Four q4 = new Four();
		System.out.println("4. ");
		q4.pattern1();
		q4.pattern2();
		q4.pattern3();
	}
}
